package com.suxin.security.configure;

import com.suxin.security.builder.SecurityBuilder;

/**
 * @author Tang
 * @classname SecurityConfigure
 * @description [  ]
 * @date 2022/8/16 16:27
 */
public interface SecurityConfigure<O,B extends SecurityBuilder<O>>{

    /**
     * init
     * @param builder builder
     * @throws Exception
     */
    public void init(B builder) throws Exception;

    /**
     * configure
     * @param builder builder
     * @throws Exception
     */
    public void configure(B builder) throws Exception;

}
